Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific event page #22

Merged
merged 18 commits into from
Jan 3, 2024
Merged

Specific event page #22

merged 18 commits into from
Jan 3, 2024

Conversation

rodrigobustamante
Copy link
Contributor

No description provided.

Copy link

cloudflare-workers-and-pages bot commented Dec 12, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 57bbdc9
Status: ✅  Deploy successful!
Preview URL: https://a76ea64d.tickets.pages.dev
Branch Preview URL: https://feature-event-view.tickets.pages.dev

View logs

@rodrigobustamante rodrigobustamante linked an issue Dec 12, 2023 that may be closed by this pull request
@fforres fforres marked this pull request as ready for review December 18, 2023 21:25
Copy link
Member

@fforres fforres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le pegue una mirada, a nivel de código solo estos temas ATM.

(Acabo de cachar q estas mockeando algunas cosas... obvia lode graphql...pero en vola fase 2 :P )

Cuando deploye y testie en mi local, cache q en pantallas grandes, los elementos siguen creciendo. El wrapper de la página debería tener un max-width (creo q lo deje en el figma IIRC, 1 seg)

https://www.figma.com/file/K45w4SBiqA6cpNl3XM1kNl/Tickets-%E2%80%94-Design-Session?type=design&node-id=2%3A21211&mode=design&t=AGUefuY9Gef7KvLD-1

(Al ojo, 1360px...deberíamos darle lo q sea q tailwind tenga por ahi cerca, y padding laterales al contendor 🙏 )

src/components/Event/Attendees/Attendees.tsx Outdated Show resolved Hide resolved
src/components/Event/Attendees/Attendees.tsx Outdated Show resolved Hide resolved
src/components/Event/Attendees/types.d.ts Outdated Show resolved Hide resolved
src/components/Event/Hero/Hero.tsx Outdated Show resolved Hide resolved
src/components/Event/Information/Information.tsx Outdated Show resolved Hide resolved
src/components/Event/Organizers/Organizers.tsx Outdated Show resolved Hide resolved

export type OrganizersTypes = {
title: string;
organizers: Organizer[];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En ves de Organizer ( en el componente Attendees, que estamos usando type Attendees) deberíamos usar los tipos de GraphQl, por si cambian tener menos problemas.

Podríamos referenciar un UserFragment por ejemplo ...

Igual este mensaje es un poco nitpicky ....sientete libre de ignorar, pero IMO interesante pa pensarlo :)

src/components/Event/Register/Register.tsx Show resolved Hide resolved
src/components/ui/sheet.tsx Outdated Show resolved Hide resolved
},
];

export const event = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

en el futuro, deberiamos usar faker para los fixtures

En este caso. es fixture un nombre protegido de esta carpeta? onda podemos crear este archivo aca (dentro de /app digo?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No entendí muy bien la pregunta 😢

name: string;
}

type EventClass = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Para estos tipos deberiamos usar los de src/api/gql/graphql.ts

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Nos ahorramos que diverjan en lo que cambie la API)

codegen.ts Show resolved Hide resolved
Copy link
Member

@fforres fforres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2 comentarios. aparte de eso ✅

@rodrigobustamante rodrigobustamante merged commit 1376ad5 into main Jan 3, 2024
4 checks passed
@rodrigobustamante rodrigobustamante deleted the feature/event-view branch January 3, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Creación de la página de un evento en específico
2 participants